all:		skins compile

dev:		skins compile apacheRestart

compile:	netspy.cpp constants.h skinMainView
		c++ *.cpp -lcppcms -lcppdb -o netspy

skins:		skinMainView

skinMainView:	skinMainView.tmpl
		cppcms_tmpl_cc skinMainView.tmpl -o skinMainView.cpp  
	
apacheRestart:
		sudo /etc/init.d/apache2 restart

clean:
		rm netspy;
